home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
bash
/
bash_108
/
bash-108.zoo
/
bash-1.08
/
cppmagic.sh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
1991-05-02
|
216 b
|
11 lines
#!/bin/sh
# Test to see if /lib/cpp is really GNU cpp.
#
if [ -f /lib/cpp ]; then
unknown_flag=`/lib/cpp -traditional /dev/null 2>&1 | grep unknown`
if [ ! "$unknown_flag" ]; then
echo -traditional
fi
fi